package cn._2dland.uploader.xina;

/**
 * 上传线程锁
 * 向渣浪上传时，需要异步发送两个请求，因此需要多线程实现。本方法为子线程的锁，主线程需要等待该锁的通知。
 * @author deadblue
 */
public class UploadLock {
	private boolean done = false;
	private String result = null;
	
	public UploadLock() {}

	public boolean isDone() {
		return done;
	}

	public void setDone(boolean done) {
		this.done = done;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}
}
